package com.neusoft.chanceserver.dto;

import com.neusoft.chanceserver.entity.Subchance;

public class SubchanceAdd {
    Integer chanceId;
    Subchance subchance;

    @Override
    public String toString() {
        return "SubchanceAdd{" +
                "chanceId=" + chanceId +
                ", subchance=" + subchance +
                '}';
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Subchance getSubchance() {
        return subchance;
    }

    public void setSubchance(Subchance subchance) {
        this.subchance = subchance;
    }

    public SubchanceAdd() {
    }

    public SubchanceAdd(Integer chanceId, Subchance subchance) {
        this.chanceId = chanceId;
        this.subchance = subchance;
    }
}
